package com.asfaloth.wss.controller;

import com.asfaloth.wss.biz.IWsClientBiz;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * Created by 80002004 on 2017/1/20.
 */
@Controller
@RequestMapping(value = "/wsClient")
public class WsClientController {

    @Resource
    private IWsClientBiz wsClientBiz;

    @ResponseBody
    @RequestMapping(value = "/do")
    public String client() {
        String res = wsClientBiz.clientServer();
        return res;
    }
}
